package com.xueyi.aixihu.entity.generatedMapper;

import com.xueyi.aixihu.entity.po.DtGoods;
import com.xueyi.aixihu.entity.po.DtGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtGoodsMapper {
    long countByExample(DtGoodsExample example);

    int deleteByExample(DtGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtGoods record);

    int insertSelective(DtGoods record);

    List<DtGoods> selectByExampleWithBLOBs(DtGoodsExample example);

    List<DtGoods> selectByExample(DtGoodsExample example);

    DtGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtGoods record, @Param("example") DtGoodsExample example);

    int updateByExampleWithBLOBs(@Param("record") DtGoods record, @Param("example") DtGoodsExample example);

    int updateByExample(@Param("record") DtGoods record, @Param("example") DtGoodsExample example);

    int updateByPrimaryKeySelective(DtGoods record);

    int updateByPrimaryKeyWithBLOBs(DtGoods record);

    int updateByPrimaryKey(DtGoods record);
}